package provide

import (
	"yuanxin-admin/internal/logic"

	"go.uber.org/dig"
)

// Provide 将对象托管到容器中
func Provide(container *dig.Container) (err error) {
	err = container.Provide(logic.NewSysDeptService)
	err = container.Provide(logic.NewSysDictDictService)
	err = container.Provide(logic.NewSysMenuService)
	err = container.Provide(logic.NewSysRoleService)
	err = container.Provide(logic.NewSysUserService)
	return err
}
